ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

HTML Extended

by orizens ALL

HTML syntax Sublime Text definition which supports Web Components with "-" in tag name

Details

Installs

  • Total 32K
  • Win 24K
  • Mac 4K
  • Linux 4K
Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15
Windows 0 1 4 4 3 0 2 1 2 1 3 1 1 0 2 3 2 1 0 1 0 0 1 1 2 1 0 0 0 2 1 1 1 3 0 0 1 1 2 1 1 0 1 0 1 1
Mac 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0
Linux 0 0 0 1 1 0 1 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 2 0 0 0 1 0 1 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

HTML for Web Components Support

Current html syntax highlight doesn't color html elements with “dash” in it.
In example, the following youtube-player element will be displayed with 2 colors instead of one:

<youtube-player id="#$5213123"></youtube-player>
    <youtube:player class="media"></youtube:player>

With this HTML extended package, it will color the html element properly: example for web components

This package should work with any color scheme.

Set HTML or other extension files to automatically open with html extended syntax

  1. open an html file that has a web component in it
  2. from the menu, select: View -> Syntax -> Open all with current extension as… -> Html Extended